package com.wq.gof.designer.chain.list;

/**
 * @Author: wangqiang20995
 * @Date:2019/1/25
 * @Description:
 * @Resource:
 */
public class SentinelObjectEventHandler extends AbstractChainEventHandler {


    public SentinelObjectEventHandler(HandlerContext handlerContext){
        super(handlerContext);
    }

    @Override
    public void doHandle(Object conditions, HandlerContext handlerContext) {
        System.out.println("哨兵handler处理Object-->["+conditions.getClass().getName()+"]");
        handlerContext.resume();
    }
}
